]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
network: Fix a bad signal name
authorJasper St. Pierre <jstpierre@mecheye.net>
Mon, 10 Jun 2013 01:39:27 +0000 (21:39 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Wed, 12 Jun 2013 20:58:34 +0000 (16:58 -0400)
We try to disconnect from firmwareChangedId, not firmwareMissingId.

https://bugzilla.gnome.org/show_bug.cgi?id=701954

js/ui/status/network.js

index c820a54450c9518030752d507a96b517de93ff45..288caf308f6a899b5e4e4d6d84ec3c85c13b1f58 100644 (file)
@@ -416,8 +416,8 @@ const NMDevice = new Lang.Class({
             // This state is actually a compound of various states (generically unavailable,
             // firmware missing, carrier not available), that are exposed by different properties
             // (whose state may or may not updated when we receive state-changed).
-            if (!this._firmwareMissingId)
-                this._firmwareMissingId = this.device.connect('notify::firmware-missing', Lang.bind(this, this._substateChanged));
+            if (!this._firmwareChangedId)
+                this._firmwareChangedId = this.device.connect('notify::firmware-missing', Lang.bind(this, this._substateChanged));
             if (this.device.firmware_missing) {
                 /* Translators: this is for devices that require some kind of firmware or kernel
                    module, which is missing */